     function createFreeProblem(text, sex, age,historyId,token){
            var params = [
            {
                type: "text",
                text: "测试ceshisihsihihisiheig"
            },
            {
                type: "patient_meta",
                sex: "女",
                age: "18"
            }

        ];
        var token='eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91aHlsYWIuY29tIiwiZXhwIjoxNDcyODAzMTM5LCJ1aWQiOjF9.siHEiLvADnuSyyATTtRUjtR_J8hOPSPN1-yPrq4ETj4';
        var data = {
            content: JSON.stringify(params),
            problem_id:21,
            token:token,
            recordid:4
        }
        var ajaxUrl = "http://api.uhylab.com/uapp/problem/save";
        $.ajax({
            url: ajaxUrl,
            dataType: "jsonp",
            data: data,
            success: function (res) {
            alert(res.code);

            }
        });
 }